package com.design.behavior.visitor.cainiao;

/**
 * @ProjectName: design
 * @Package: com.design.behavior.visitor.cainiao
 * @ClassName: VisitorPatternDemo
 * @Author: shenaiguo
 * @Description:
 * @Date: 2020/11/15 0015 9:56
 */
public class VisitorPatternDemo
{
    public static void main(String[] args) {

        ComputerPart computer = new Computer();
        computer.accept(new ComputerPartDisplayVisitor());
    }
}
